package com.dongdongshop.front.service;

import com.dongdongshop.front.pojo.AddressVo;
import com.dongdongshop.front.pojo.TbAddress;

import java.util.List;

public interface AddressService {
    List<AddressVo> getAddressByUsername(String username);

    void addAdress(TbAddress address);

    void updateAdressById(TbAddress address);

    TbAddress getAddressById(Long id);

    void deleteById(Long id);

    AddressVo getAddressVoByAddressId(Long id);
}
